package springstudy.annotation;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;
import springstudy.configuration.HelloWorldConfiguration;

/**
 *EnableHelloWorld标签的的  {@link ImportSelector}实现
 * @Author acy
 * @Date 2019/04/24
 */
public class HelloWorldImportSelector implements ImportSelector {
	@Override
	public String[] selectImports(AnnotationMetadata annotationMetadata) {
		return new String[]{HelloWorldConfiguration.class.getName()};
	}
}
